package com.back.campus_back.service;

import com.back.campus_back.domain.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-04-17
 */
public interface AdminService extends IService<Admin> {

//    管理员登录
    public Admin login(String adminName, String adminPassword);


    //根据用户名查找
    public Admin findByName(String adminName);

}
